#include<stdio.h>
#include<string.h>
#define N  100
int main(int argc, const char *argv[])
{
	char str[N] = "hello-";
	char *p = "world";
	int temp=0;

	puts(str);
	puts(p);
	for(int i=0;i<N;i++)
	{
		if(str[i]=='\0')
		{
			temp = i;
			break;
		}
	}
	while(*p!='\0')
	{
		str[temp]=*p;
		temp++;
		p++;
	}
	puts(str);
	puts(p);

	return 0;
}



